package it.tukano.treditor.modules;

import it.tukano.app.AbstractAppModule;
import it.tukano.treditor.resources.Icons;
import it.tukano.treditor.resources.Labels;
import it.tukano.treditor.resources.Labels.LabelKey;
import javax.swing.Icon;

public class BasicModule extends AbstractAppModule {

    protected String getLabel(LabelKey key) {
        return Labels.getInstance().getLabelValue(key);
    }
    
    protected Icon getIcon(String name, int size) {
        return Icons.get(name, size);
    }
}
